/*
 * 系统项目名称：综合决策分析系统-version2.0
 * 文件名：ShopCompanyService.java
 * 描述：
 * 版权：Copyright 2015-2020 义乌市跨境电商供应链管理有限公司-版权所有
 * 修改人：yangjx
 * 修改时间：2016-3-11 下午1:41:45
 * 版本号：V1.1
 */
package com.ywt.cda.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.ywt.cda.action.model.ShopCompanyModel;
import com.ywt.cda.action.model.ShopCompanyOrientedModel;
import com.ywt.cda.action.vo.ShopCompanyVo;
import com.ywt.cda.core.dao.page.Page;
import com.ywt.cda.domain.Ana2ndData;
import com.ywt.cda.domain.AnaImportData;
import com.ywt.cda.domain.enums.DimensionFlag;
import com.ywt.cda.domain.enums.OrderByEnum;

/**
 * （一句话功能简述） <br>
 * （功能详细描述）
 * 
 * @author yangjx
 * @version V1.0
 * @see [相关类/方法]
 * @since 2016-3-11 下午1:41:45
 */
public interface ShopCompanyOrientedService {
	
	void setJsonShops(JSONObject object,String keyword);

	List<ShopCompanyVo> toVo(List<AnaImportData> datas);

	List<AnaImportData> getShopData(ShopCompanyModel shopCompanyModel,
			List<ShopCompanyVo> datas);

	void toZhexianJson(JSONObject objectZhexian, List<AnaImportData> shopDatas,
			ShopCompanyModel shopCompanyModel,List<ShopCompanyVo> vos,OrderByEnum orderByEnum);

	List<Ana2ndData> getDatas(ShopCompanyModel shopCompanyModel,
			List<ShopCompanyVo> vos, DimensionFlag flag,Page page);

	

	void toOtherGraphJson(JSONObject objectOtherGraph,
			List<Ana2ndData> pieDatas, List<Ana2ndData> mapDatas,
			List<Ana2ndData> nianDatas,List<ShopCompanyVo> vos);

	List<ShopCompanyVo> toVo(ShopCompanyOrientedModel shopCompanyOrientedModel);

	List<ShopCompanyVo> toVos(List<Ana2ndData> datas);

	List<Ana2ndData> getExportShopData(
			ShopCompanyOrientedModel shopCompanyOrientedModel,
			List<ShopCompanyVo> vos);

	void toExportZhexianJson(JSONObject objectZhexian,
			List<Ana2ndData> shopDatas,
			ShopCompanyOrientedModel shopCompanyOrientedModel,
			List<ShopCompanyVo> vos,OrderByEnum orderByEnum);

	List<Ana2ndData> getExportDatas(
			ShopCompanyOrientedModel shopCompanyOrientedModel,
			List<ShopCompanyVo> vos, DimensionFlag flag,Page page);

	List<Ana2ndData> getNianDatas(
			ShopCompanyOrientedModel shopCompanyOrientedModel,
			List<ShopCompanyVo> vos, DimensionFlag sCategory);

	void updateModel(ShopCompanyOrientedModel shopCompanyOrientedModel);
}
